package com.ourstocks.test.module.chenchuanantest;

/**
 * 抽象爬虫
 *
 * @author 1812BD_T4
 * @create 2019-03-07 9:25
 **/

public abstract class AbstractHtmlSpider<T> implements Runnable, IHtmlSpider {



    @Override
    public String crawlPage() {
        return "AbstractHtmlSpider.crawlPage()";
    }

    @Override
    public void run() {
            String webPage = crawlPage();
            System.out.println("AbstractHtmlSpider.run() webPage:  " + webPage);
    }
}
